package com.ww.springboot.springstudy.runner;

import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.stereotype.Component;

/**
 * 描述：
 * <p>
 * spring 上下文加载完后执行
 *
 * @author 🧑 ‍wanwei
 * @since 2022-06-30 10:09
 */
@Component
public class StartApplicationRunner implements ApplicationRunner {

    @Override
    public void run(ApplicationArguments args) throws Exception {
        System.out.println("runner--" + args);
    }
}
